package com.yunhe.day322.service;

import com.yunhe.day322.domain.Product;

import java.util.List;

public interface ProductService {
    void addProduct(Product product);

    List<Product> findAllProduct(int page, int size);

    Product findById(String id);

    void edit(Product product);

    void deleteById(String id);

    List<Product> findAll();
}
